#ifndef _SETAPPPAGECALLBACK_H
#define _SETAPPPAGECALLBACK_H

#include "AnCallback.h"
#include "AnMainwin.h"
#include <QMessageBox>
#include <QDialog>
#include <QMovie>

class _SetApppageCallback:public AnCallback
{
    Q_OBJECT

public:
    _SetApppageCallback();
    _SetApppageCallback(AnMainwin * anMainwin);
    ~_SetApppageCallback();

    void response(QJsonObject an_resp);

private:
    AnMainwin *amw;
    QTreeWidgetItem *test;
    QMessageBox *firstMessageBox;
    QDialog *firstDialog;
    QTreeWidgetItem *userAppList;
    QTreeWidgetItem *sysAppList;
    QMovie *movie;

public slots:
    void connect_close();
    void connect_build();

    void refresh_clicked();
    void app_install_clicked();
    void app_uninstall_clicked();

};


#endif // _SETAPPPAGECALLBACK_H
